package com.fintech.third.model.moxie.carriesv2;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by zhangliang on 17/2/28.
 */
public class MXBasicCheckItem implements Serializable {

	private static final long serialVersionUID = 1L;

	@JsonProperty("check_item")
	private String checkItem;

	private String result;

	private String comment;

	public String getCheckItem() {
		return checkItem;
	}

	public void setCheckItem(String checkItem) {
		this.checkItem = checkItem;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public static class MXCheckPointBuilder {

		private MXBasicCheckItem checkPoint;

		public MXCheckPointBuilder() {
			this.checkPoint = new MXBasicCheckItem();
		}

		public static MXCheckPointBuilder newBuilder() {
			return new MXCheckPointBuilder();
		}

		public MXCheckPointBuilder withCheckItem(String checkItem) {
			checkPoint.checkItem = checkItem;
			return this;
		}

		public MXCheckPointBuilder withResult(String result) {
			checkPoint.result = result;
			return this;
		}

		public MXCheckPointBuilder withComment(String comment) {
			checkPoint.comment = comment;
			return this;
		}

		public MXBasicCheckItem build() {
			return checkPoint;
		}
	}
}
